Logo
    Search

    mongodb

    Explore "mongodb" with insightful episodes like "Lessons I Learned From Managing Hundreds of Millions of Data in MongoDB", "MongoDB CEO Dev Ittycheria on great leadership, building winning teams, and more | E1783", "Converting JS to TypeScript", "Summer Q&A: 48% Dividend Yield, FinTech, Small Cap Energy Stocks" and "Potluck - Peer Dependencies × Vitest × NVM and PNPM × Sprites" from podcasts like ""Programming Tech Brief By HackerNoon", "This Week in Startups", "Syntax - Tasty Web Development Treats", "Motley Fool Money" and "Syntax - Tasty Web Development Treats"" and more!

    Episodes (8)

    Lessons I Learned From Managing Hundreds of Millions of Data in MongoDB

    Lessons I Learned From Managing Hundreds of Millions of Data in MongoDB

    This story was originally published on HackerNoon at: https://hackernoon.com/lessons-i-learned-from-managing-hundreds-of-millions-of-data-in-mongodb.
    In this post, I will share r.eal experience that I gained while working with hundred's of millions of pieces of data in MongoDB
    Check more stories related to programming at: https://hackernoon.com/c/programming. You can also check exclusive content about #mongodb, #scaling, #database, #best-mongodb-practices, #mongodb-lessons, #bulk-operations, #aggregation-pipeline, #mastering-mongodb, and more.

    This story was written by: @thedevtimeline. Learn more about this writer by checking @thedevtimeline's about page, and for more stories, please visit hackernoon.com.

    In this post, I will share real experience that I gained while working with hundreds of millions of pieces of data in MongoDB. Don't store all data in a single Mongo collection. Use Bulk Operations to execute multiple write operations (inserts, updates, deletes) efficiently.

    MongoDB CEO Dev Ittycheria on great leadership, building winning teams, and more | E1783

    MongoDB CEO Dev Ittycheria on great leadership, building winning teams, and more | E1783

    This Week in Startups is brought to you by…

    OpenPhone. Create business phone numbers for you and your team that work through an app on your smartphone or desktop. TWiST listeners can get an extra 20% off any plan for your first 6 months at openphone.com/twist

    Embroker. The Embroker Startup Insurance Program helps startups secure the most important types of insurance at a lower cost and with less hassle. Save up to 20% off of traditional insurance today at Embroker.com/twist. While you’re there, get an extra 10% off using offer code TWIST.

    Roots is a real estate investment platform for all investors. There are no entry fees, and you can start with as little as $100. Head to investwithroots.com/TWIST to sign up and start investing today!

    *

    Today’s show:

    MongoDB CEO Dev Ittycheria joins Jason to discuss recent tech trends (10:58), the move towards remote work (17:58), his strategy for building winning teams (37:17), and much more!

    *

    Time stamps:

    (00:00) MongoDB CEO Dev Ittycheria joins Jason

    (2:32) Dev’s background and how MongoDB operates

    (9:28) OpenPhone - Get 20% off your first six months at https://openphone.com/twist

    (10:58) The last 9 months in tech and the pace of AI

    (13:57) RIFs and staffing a modern-day tech company

    (17:58) Remote, Hybrid, or back to the office

    (22:25) Embroker - Use code TWIST to get an extra 10% off insurance at https://Embroker.com/twist

    (25:33) Hiring and inspiring the next generation

    (28:47) The trust but verify operating philosophy

    (31:32) Entitlement in the tech industry

    (35:52) Roots - Head to investwithroots.com/TWIST to sign up and start investing today!

    (37:17) Great leadership and managing a team

    (41:14) Bad management and the feedback cycle

    (53:30) Recruiting talent in the U.S.

    *

    Check out MongoDB: https://www.mongodb.com

    Follow Dev: https://twitter.com/dittycheria

    *

    Read LAUNCH Fund 4 Deal Memo: https://www.launch.co/four

    Apply for Funding: https://www.launch.co/apply

    Buy ANGEL: https://www.angelthebook.com

    Great recent interviews: Steve Huffman, Brian Chesky, Aaron Levie, Sophia Amoruso, Reid Hoffman, Frank Slootman, Billy McFarland, PrayingForExits, Jenny Lefcourt

    Check out Jason’s suite of newsletters: https://substack.com/@calacanis

    *

    Follow Jason:

    Twitter: https://twitter.com/jason

    Instagram: https://www.instagram.com/jason

    LinkedIn: https://www.linkedin.com/in/jasoncalacanis

    *

    Follow TWiST:

    Substack: https://twistartups.substack.com

    Twitter: https://twitter.com/TWiStartups

    YouTube: https://www.youtube.com/thisweekin

    *

    Subscribe to the Founder University Podcast: https://www.founder.university/podcast

    Converting JS to TypeScript

    Converting JS to TypeScript

    In this episode of Syntax, Wes and Scott talk about their respective processes for converting JavaScript to TypeScript in their projects, why you might want to, and tooling for moving to TypeScript.

    Sentry - Sponsor

    If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.

    Show Notes

    ××× SIIIIICK ××× PIIIICKS ×××

    Shameless Plugs

    Tweet us your tasty treats

    Summer Q&A: 48% Dividend Yield, FinTech, Small Cap Energy Stocks

    Summer Q&A: 48% Dividend Yield, FinTech, Small Cap Energy Stocks
    You've got question so we rounded up a wide range of Fools with some answers! In this summer mailbag we’re answering listener voicemails and emails about: - Whether a stock paying a 48% dividend yield is real or a mirage - Lesser-known energy and tech companies that may be worth your attention - How the student-loan pause is impacting SoFi - Saving in a 401(k) and being a stock investor Got a question for the show? Leave us a voicemail at 703-254-1445. Stocks mentioned: MDB, SOFI, STEM, ZIM, FLNC, ENPH Host: Chris Hill Guests: Robert Brokamp, Tim Beyers, Matt Argersinger, Matt Frankel, Jim Mueller Producer: Ricky Mulvey Engineers: Rick Engdahl, Dan Boyd Learn more about your ad choices. Visit megaphone.fm/adchoices

    Potluck - Peer Dependencies × Vitest × NVM and PNPM × Sprites

    Potluck - Peer Dependencies × Vitest × NVM and PNPM × Sprites

    In this potluck episode of Syntax, Wes and Scott answer your questions about peer dependencies, Vitest, NVM and PNPM, using sprites for images, common MongoDB operations, and more!

    Prismic - Sponsor

    Prismic is a Headless CMS that makes it easy to build website pages as a set of components. Break pages into sections of components using React, Vue, or whatever you like. Make corresponding Slices in Prismic. Start building pages dynamically in minutes. Get started at prismic.io/syntax.

    Sanity - Sponsor

    Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on sanity.io/syntax.

    LogRocket - Sponsor

    LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax.

    Show Notes

    • 00:03 Welcome
    • 01:53 Configuring home internet routers
    • 04:42 Scott’s Home Assistant update
    • Mushroom Theme
    • 07:52 Could you explain to me peer-dependencies and how does it work?
    • 13:24 Using Vitest do you still have to transpile code?
    • 16:14 Can you talk about helpful and common MongoDB operations, beyond just CRUD.
    • 18:49 How can I update the “updatedAt” field of the document on every save automatically?
    • 20:40 What is aggregation, and when do you use it?
    • 25:33 Sponsor: Prismic
    • 27:27 How does NVM relate to PNPM?
    • pnpm
    • nvm
    • 30:45 I’m looking to upskill from front-end JavaScript?
    • 33:53 Is it possible to have a private NPM repo I can “npm install” from, or do I put my components up on NPM publicly?
    • Creating a private npm package
    • 37:51 Sponsor: LogRocket
    • 39:14 Should a majority of lodash functions be considered deprecated?
    • angus c just
    • 42:36 Please do an episode on programming/learning with ADHD.
    • 44:04 Should I still be putting images in sprites?
    • 49:20 Does Mux have a simple mechanism for adding auth to each video or group of videos?
    • Mux Create playback restriction
    • 53:48 Sponsor: Sanity.io
    • 55:02 Is there copyright issues with using public APIs?
    • Moneypuck
    • 59:38 ××× SIIIIICK ××× PIIIICKS ×××

    ××× SIIIIICK ××× PIIIICKS ×××

    Shameless Plugs

    Tweet us your tasty treats

    More on Severless - Databases × Files × Secrets × Auth × More!

    More on Severless - Databases × Files × Secrets × Auth × More!

    In this episode of Syntax, Scott and Wes do a part 2 about Serverless — databases, files, secrets, auth, and more!

    Sanity - Sponsor

    Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on sanity.io/syntax.

    Freshbooks - Sponsor

    Get a 30 day free trial of Freshbooks at freshbooks.com/syntax and put SYNTAX in the “How did you hear about us?” section.

    Show Notes

    2:47 - Wes tried Cloudflare Workers

    • Also this is so cool:

    Hey Wes, just listened to the latest Syntax episode on the serverless setup. Not sure if it’s an episode idea or not, but if you wanna do a bit of a dive on Cloudflare’s service workers, I’m currently leading an “invisible infrastructure migration” right now from a legacy WordPress setup to a new Storyblok/Netlify setup. We’re using Cloudflare’s service workers to basically “stitch” the headers/menus/footers from the old WordPress site into our new Netlify pages, but serving the page back as if it was part of the normal domain. This means we can migrate from the old to the new slowly without massively disrupting SEO, doing a lengthy/costly rebuild, etc.

    • A word on Digital Ocean
    • Kubernetes + FAAS allows you to scale up/down

    13:54 - Secret management

    • Some have a great UI
    • Some have a CLI
    • Some only have production
    • Some have dev/staging/prod

    16:24 - Vendor lock-in

    • Two kinds of vendor lock-in
      • Lock into a low-level provider (Like AWS, or MongoDB)
      • Lock into a framework
    • Questions to ask:
      • Can I go, take my app as-is, and host it on another provider?
      • Can I refactor the config and run my code as-is?
      • Do I need to refactor my code for it to run on other platforms?
    • Next.js will only run on Now
    • There is a community package
    • Begin all runs on Arc.codes
    • Firebase is locked in?

    25:12 - Sharing dependencies

    • Each function will have its own package.json, which can be a pain
    • Publish utils a private module
    • AWS Layers
    • Import/export
    • Bundle and tree shake

    30:26 - Local development

    • Now dev
    • NPX sandbox
    • Wrangler for Cloudflare workers

    36:40 - Existing applications

    • Difficult to move with many routes, but easy to move a Graphql API that has one single route
    • Maybe do piece by piece instead of all at once
    • Begin has http express method

    45:21 - Data

    • Any DB you want
    • Dynamo DB integrated into many
    • Firebase
    • KV Storage for Cloudflare workers
    • Fauna

    48:14 - File storage

    • Generally files go in the associated file place like Amazon S3, Backblaze B2, Cloudinary
    • Many also have this integrated as well

    52:18 - Auth

    • Serverless is ephemeral and stateless
    • JWT likely as sessions will work, but doesn’t really make sense

    Links

    ××× SIIIIICK ××× PIIIICKS ×××

    Shameless Plugs

    Tweet us your tasty treats!

    Chetan Puttagunta – Go Slow to Go Fast: Software Building and Investing - [Invest Like the Best, EP.156]

    Chetan Puttagunta – Go Slow to Go Fast: Software Building and Investing - [Invest Like the Best, EP.156]
    My guest this week is a good friend and a business mentor of mine. Chetan Puttagunta is a general partner at Benchmark Capital and has a remarkable track record of investing in early-stage software businesses, including several like Mulesoft, MongoDB, and Elastic that went on to be public companies. Chetan has been my key guide for understanding the world of enterprise software as we at O’Shaughnessy Asset Management have built an investing platform called Canvas. His advice has been critical to our early success. In this episode, we explore the history of software and software investing, and go into the details on how to build and grow new software businesses. We discuss product, sales and marketing, recruiting, scaling, and everything in between. Please enjoy this great conversation with one of my favorite business and investing thinkers. For more episodes go to InvestorFieldGuide.com/podcast. Sign up for the book club, where you’ll get a full investor curriculum and then 3-4 suggestions every month at InvestorFieldGuide.com/bookclub. Follow Patrick on Twitter at @patrick_oshag   Show Notes 1:34 – (First Question) – How Chetan found MongoDB and decided to invest in it 8:01 – The evolution of databases in the growth of technology 16:19 – Market penetration of this space and what investors should be thinking about 21:46 – Advice how companies can build software effectively 25:12 – Tactics to effectively implement empathy led product building 30:33 – Companies asking users what to build vs telling users what they want 34:26 – The need for the right capital, and patient capital in particular 37:55 – Creating the perfect customer experience 44:37 – Common reasons they don’t invest in a company 48:48 – Lessons on scaling, especially in sales and marketing 52:47 – Best recruiting pipeline strategies 59:56 – Pitfalls of unit economic traps             1:00:23 – The Dangerous Seduction of the Lifetime Value (LTV) Formula             1:01:34– The Hierarchy of Engagement 1:02:18 – What has changed for Chetan in his time working with the team at Benchmark 1:06:009 – Later stage life cycle business considerations and Amazon’s AWS 1:13:29 – The business model of open-source software 1:15:54 – Being default open 1:17:53 – Kindest thing anyone has done for Chetan   Learn More For more episodes go to InvestorFieldGuide.com/podcast.  Sign up for the book club, where you’ll get a full investor curriculum and then 3-4 suggestions every month at InvestorFieldGuide.com/bookclub Follow Patrick on Twitter at @patrick_oshag

    Potluck - CSS × Angular × Dev job preparation × Svelte × File organization × Gear × More!

    Potluck - CSS × Angular × Dev job preparation × Svelte × File organization × Gear × More!

    It’s another Potluck! In this episode, Scott and Wes answer your questions about CSS, Angular, Svelte, dev job preparation and more!

    Sentry - Sponsor

    If you want to know what’s happening with your errors, track them with Sentry. Sentry is open-source error tracking that helps developers monitor and fix crashes in real time. Cut your time on error resolution from five hours to five minutes. It works with any language and integrates with dozens of other services. Syntax listeners can get two months for free by visiting Sentry and using the coupon code “tastytreat”.

    Sanity - Sponsor

    Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at Sanity. Get an awesome supercharged free developer plan on Sanity.

    Show Notes

    3:23 - Q: How big is too big for state? I have an object of around 1000 items which will be used in a search box on the frontend of my site, but the list of items won’t be updated very often. What is the most efficient way to store these items and deliver them to the browser? Would you use state, a JSON object, a MongoDB document or some other way I haven’t thought of?

    7:17 - Q: How much do I need to know before I start applying for dev jobs?

    9:26 - Q: Do you folks have any opinions on Skeleton loaders, and any thoughts on how best to implement them? At my day job we’ve recently implemented skeleton loaders in a way that inherits the parent styles. Would love to know if there’s any best practices for this or ways we can improve our setup.

    13:01 - Q: Do you think we still need to use CSS resets like normalize and sanitizer?

    14:56 - Q: Scott, can you tell the story of how you landed an interview for a job in Japan? I am moving to Japan next year and wondering how that opportunity arose for you.

    20:04 - Q: Do you guys have an opinion on angular good or bad? Or is it that you’re more comfortable and have used React and Vue more often, so they’re largely at the center of any framework discussions?

    22:54 - Q: Could you talk about naming and structuring files/folders in your applications? How do you name components and folders? Do you follow some sort of path of how to structure files in a web app?

    29:01 - Q: Do you think that Node is almost too powerful to handle some of the simpler tasks (a site that just needs a contact form for instance), or am I just missing some very simple configuration? It seems like other languages, such as PHP, might be better suited for some of these simple tasks and Node is really just meant for larger scale application? I guess what my question really boils down to is, for a freelancer, I understand that I need to have my hands in a lot of different tech stacks, but should I really dive in on PHP (or something else) to handle some of these simpler features a client might need?

    33:24 - Q: What do you guys think about Svelte? Before everything goes WASM will Svelte be the future of web programming?

    37:24 - Q: What smart phones and laptops do you use for work? (specific model and why)

    42:38 - Q: Should I apply for other jobs even if my contract might get renewed? Should I feel loyal to a company?

    ××× SIIIIICK ××× PIIIICKS ×××

    Shameless Plugs

    Tweet us your tasty treats!