Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pkconstantine
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
pkconstantine
13y ago
That's correct. And that's how most of parallel processing frameworks do it anyway.
2.
▲
by
pkconstantine
13y ago
Typically - yes, but we can change that. Application does not need to access all data, it happens because today any web application serves millions of requests and thousands of users, it needs to access all the data of all users at any time
3.
▲
by
pkconstantine
13y ago
The platform itself produces accounting data with 1 ms accuracy. How to do accounting in a real world public service is another question. But we aim for a very short-lived (10 seconds) but widely horizontally spread (1000 machines) workload
4.
▲
by
pkconstantine
13y ago
If you have to run a single database for multi-tenant application you're in for some real pain. For example: how will you shard it? How will you load-balance it? ZeroVM approach to cloud is that "cloud is the database". ZeroV
5.
▲
by
pkconstantine
13y ago
Lua, Python and C/C++ are available right now. C/C++ is compiled in run-time with LLVM. Porting an interpreter requires a minimal effort, although porting some of the interpreter libraries can be not that easy. I have compiled PHP
6.
▲
by
pkconstantine
13y ago
All reads from other sessions are blocking. There is no input queue, zerovm processes read and write directly to each other. This way determinism can be preserved even for clusters.
7.
▲
by
pkconstantine
13y ago
It's open source. https://github.com/zerovm Can be used anywhere. Can be installed on top of Openstack installation.
8.
▲
by
pkconstantine
13y ago
If you have a legacy application that demands threads we can emulate threads by essentially using coroutine approach. http://en.wikipedia.org/wiki/Coroutine
9.
▲
by
pkconstantine
13y ago
When we instantiate we give zerovm an executable image (a file) and any other files this executable will need (can be arranged in a sort of "VM image" which is a regular tar file). Sessions (instances) can communicate by unix pipe
10.
▲
by
pkconstantine
13y ago
It looks like hardened *nix process. It has no access to anything it's not permitted to access. And it has no notion of network, time or machine it's running on, although it can communicate with other instances (even on remote mac
11.
▲
by
pkconstantine
13y ago
That's correct. Manta is the closest thing.
12.
▲
by
pkconstantine
13y ago
To make application truly multi-tenant you will need to adopt "share nothing" concept anyway. We just supply you with a "share nothing" infrastructure.
13.
▲
by
pkconstantine
13y ago
* You will need to supply it with random seed. * No, you will need to recompile. We use modified gcc/glibc toolchain.
14.
▲
by
pkconstantine
13y ago
Not only that. Each request is isolated in its own container. This way one user of your application cannot gain access to data of another user by simply exploiting an application bug.