Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jpetazzo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
jpetazzo
13y ago
I don't know if they meant GB or Gb, but for the record, I didn't see any difference in disk performance between native and containerized apps. In that case, that was pulling ~900 MB/s seq reads from a RAID10 disk array of
62.
▲
by
jpetazzo
13y ago
I'm not involved in Flynn nor Deis, but since Flynn is not available yet (and no source is visible at this point), I would be surprised if anyone could tell :-)
63.
▲
Creating LXC containers without root privileges
(s3hh.wordpress.com)
2 points
by
jpetazzo
13y ago
|
0 comments
64.
▲
by
jpetazzo
13y ago
You should be able to run with just 512 MB, as long as your app can do with that. Docker itself as a tiny footprint, and containers have almost zero overhead :-)
65.
▲
by
jpetazzo
13y ago
Root on the container doesn't mean root on the host. Machine-level virtualization has received more scrutiny than LXC, so as of today, many people consider traditional VMs to be more secure. But KVM or Xen are not intrinsically more se
66.
▲
by
jpetazzo
13y ago
Actually, this: https://launchpad.net/~dotcloud/+archive/lxc-docker
67.
▲
by
jpetazzo
13y ago
Actually, Docker just got the "bind mounting" feature that you are requesting. If you want the long and boring details, it's in this pull request: https://github.com/dotcloud/docker/pull/602 Do
68.
▲
by
jpetazzo
13y ago
If you want to know more about the JSON parser, it comes from https://github.com/dominictarr/JSON.sh .
69.
▲
by
jpetazzo
13y ago
I take full responsibility for all the horrendous orthographic, grammatical, or otherwise language-related mistakes committed in this README :-)
70.
▲
by
jpetazzo
13y ago
The JSON parser actually comes from https://github.com/dominictarr/JSON.sh (as mentioned in dockerlite's README file). The JSON parser is not "the main part of this project"; it was included just in case
71.
▲
by
jpetazzo
13y ago
Yes, dockerlite is mainly a proof-of-concept, to experiment with a couple of important things. 1. Use BTRFS instead of AUFS, and see if any specific problem arises, or if we hit any corner case when doing that. 2. Setup the network without
72.
▲
by
jpetazzo
13y ago
The main blocker is AUFS, but Docker has been shown to run fine with overlayfs and BTRFS; and the latter is available on virtually all recent Linux systems (it's even usable on RHEL kernels, which aren't really known for being ble
73.
▲
by
jpetazzo
13y ago
raises a hand In the early 2000s, I was in the hosting business, and we started using UML (user-mode-linux), then vserver and openvz. When Xen came around, we switched to that, because it made more sense for us (and for our customers): mo
74.
▲
by
jpetazzo
14y ago
I'm not sure what you're referring to when you say "such young OS". Solaris zones and ZFS have been around for almost a decade. Docker is young, but it wraps around LXC, cgroups, AUFS, and namespaces. Cgroups and AUFS were introduced in 200
75.
▲
by
jpetazzo
14y ago
LXC is actually the work of the OpenVZ team. When they were tired about seeing their patches rejected from the mainstream kernel, they decided to try a different approach, and that approach is LXC. In other words, LXC is a reimplementation
76.
▲
by
jpetazzo
14y ago
dotCloud engineer here. LXC lets you use cgroups, i.e. setup memory/cpu/IO limits per container. If you setup MySQL with more than database, you can't do that. Also, we DO use LXC and SUPPLEMENT it by something providing security such as GR
77.
▲
by
jpetazzo
14y ago
That's correct: cgroups have no effect on permissions. They only enforce resource usage limits. Shameless plug: I work at dotCloud, and I wrote 4 blog posts explaining namespaces, cgroups, AUFS, GRSEC, and how they are relevant to "lightwei
78.
▲
by
jpetazzo
14y ago
The AUFS mountpoint is also reachable from the host. However, each container uses its own `mnt` namespace, so further mounts (done within the container) will not automatically be visible.
79.
▲
PaaS Under The Hood, Episode 6: How to Optimize the Memory Usage of Your Apps
(blog.dotcloud.com)
11 points
by
jpetazzo
14y ago
|
1 comments
80.
▲
by
jpetazzo
14y ago
Compiling Go code is super easy; but how easy it is to cross-compile from e.g. OS X to Linux? Or from Windows to Linux? And would there be an advantage over the current situation? (This is a genuinely naive question; I'm fairly new to Go!)
81.
▲
by
jpetazzo
14y ago
HAProxy isn't designed to serve thousands of different virtual hosts. If you have a handful of different domains, that's fine, you can use some ACLs on the HTTP "Host:" header to differentiate them; if you have thousands of apps, and need a
82.
▲
by
jpetazzo
14y ago
It's interesting to see that they had similar issues 2 weeks ago (power outage) and it looks like nothing was done in those 2 weeks to address the issue, since it happened again this week-end.
83.
▲
by
jpetazzo
14y ago
Well, it's impossible to give an universal response. It's like trying to guess how much you will pay on gas on your daily commute without knowing the distance or the kind of car you're driving. It depends how much work is done in each "hit"
84.
▲
Eventual Consistency on S3: How soon is eventual?
(aifb.kit.edu)
1 points
by
jpetazzo
14y ago
|
0 comments
85.
▲
by
jpetazzo
15y ago
It's a deliberate trade-off. ØMQ itself doesn't handle HA automatically. As a client, you can create a REQ socket and connect it to multiple redundant devices. But if a device goes down, you will have to handle timeouts and repeat requests
86.
▲
by
jpetazzo
15y ago
Btw, if people want to play with Django+MongoDB, there is this: https://github.com/jpetazzo/django-and-mongodb-on-dotcloud Clone the repo. Push to dotCloud. Done. You just deployed a MongoDB server and a pristine Django configured to use
87.
▲
DotCloud adds FUSE support and shared filesystems
(blog.dotcloud.com)
36 points
by
jpetazzo
15y ago
|
6 comments
88.
▲
by
jpetazzo
15y ago
We should also add other tile servers like mapserv to the mix, if there is significant demand for it! :-)
89.
▲
Cloud deployment of PostGIS, GeoDjango, TileStream, and other geo apps made easy
(blog.dotcloud.com)
11 points
by
jpetazzo
15y ago
|
2 comments
90.
▲
DotCloud's Founder Solomon Hykes on FounderLY
(founderly.com)
3 points
by
jpetazzo
15y ago
|
0 comments
More ›