In-memory database with indices from scratch - Hana Dusíková - NDC TechTown 2023

Learn how to build an in-memory database with indices from scratch and discover the power of coroutines with Hana Dusíková's insightful NDC TechTown 2023 talk.

Key takeaways
  • The speaker introduces the concept of an in-memory database with indices from scratch, using the Hana Dusíková’s NDC TechTown 2023 conference talk as a reference.
  • The talk covers the basics of coroutines, including the use of promise and perform functions to handle asynchronous tasks.
  • The speaker explains how coroutines provide a way to write asynchronous code that is easier to read and maintain than using callbacks or threads.
  • The talk discusses the importance of managing the lifetime of coroutine handles and promises, and the role of the scheduler in managing coroutines.
  • The speaker also covers the basics of libcurl and its use for downloading resources from the internet.
  • The talk also touches on the differences between JavaScript and C++ in terms of coroutine usage.
  • The speaker emphasizes the importance of customizing the coroutine library to fit the needs of the specific use case.
  • The talk concludes with a review of the concepts covered and a nod to the future developments in coroutine technology.
  • The speaker also mentions the importance of considering the number of running and blocked tasks in a system, and how this can affect the overall performance and reliability of the system.
  • The talk also covers the basics of promise and future types, and how they can be used to manage asynchronous tasks.
  • The speaker mentions that coroutines are not threads, and that they are designed to be lightweight and efficient.
  • The talk also touches on the use of generators and coroutines in JavaScript, and compares this to the use of coroutines in C++.
  • The speaker also mentions the importance of handling errors and exceptions in coroutine code, and provides examples of how to do this.
  • The talk also explains how the scheduler can be used to manage coroutines, including the use of perform and suspend functions.
  • The speaker also covers the basics of libcurl and its use for downloading resources from the internet.
  • The talk concludes with a review of the concepts covered and a nod to the future developments in coroutine technology.
  • The speaker also mentions that coroutines are not the same as threads, and that they are designed to be lightweight and efficient.