Content pfp
Content
@
0 reply
0 recast
0 reaction

Shane da Silva pfp
Shane da Silva
@sds
I'm behind the times—apparently folks have been running Postgres on unikernels for quite some time†. https://www.prisma.io/blog/announcing-prisma-postgres-early-access https://nanovms.com/dev/tutorials/running-postgres-as-a-unikernel †
2 replies
3 recasts
66 reactions

Ryan pfp
Ryan
@ryansmith
is the idea that if you have file systems that are horizontally scalable and provide low latency, infinite IO then you would want low latency compute to spin up postgres to process queries on demand?
1 reply
0 recast
1 reaction

Shane da Silva pfp
Shane da Silva
@sds
That's not what I immediately took away, but yes that seems like a potential advantage. In my mind the key point was that the benefits of unikernels, namely: - Reduced resource footprint and improved perf (no normal OS overhead of daemons, no kernel/user-space separation and thus less overhead from context switching or syscalls) - Fast boot and shutdown times (not a full OS) - Direct hardware access ...means that we can more densely pack a single baremetal machine with potentially thousands of database instances, since computation can be performed with a greater degree of liquidity (resources for different instances are only used when they are actually needed).
2 replies
0 recast
2 reactions

Shane da Silva pfp
Shane da Silva
@sds
Re-reading what I wrote and what you wrote: basically the same thing, but mine had extra words 🙂
0 reply
0 recast
2 reactions