Comments (6)
Have you made any progress on this? I'll also have the need of some production environment in a bit and I'm still not sure about the best approach.
from clip.
Same here.
from clip.
Just deployed this stuff using capistrano with a rackup file utilising thin behind ngnix (communicating via unix-sockets) and separate worker processes. Will write about it in more detail once it's completely done and working.
But basically it boils down to this:
Extract the relevant parts from https://github.com/paulasmuth/fnordmetric/blob/master/fnordmetric-core/lib/fnordmetric/web/web.rb to your own config.ru
Wrap your worker processes with something like https://github.com/ghazel/daemons
We are not running acceptors at the moment.
from clip.
@skorfmann - Care to share your config.ru
?
from clip.
@benschwarz here you go:
#!/usr/bin/env ruby
$: << File.expand_path(File.dirname(__FILE__))
require 'app'
use Rack::CommonLogger
use Rack::ShowExceptions
map "/stream" do
run FnordMetric::WebSocket.new
end
map "/" do
run FnordMetric::App.new({})
end
"app.rb" is your custom code for fnordmetric
from clip.
I've also written about a production deployment of this stuff: http://skorfmann.com/blog/2013/03/25/the-bumpy-road-to-fnordmetric/
from clip.
Related Issues (20)
- Binaries? HOT 9
- mysql_real_connect() failed: Access denied for user 'root'@'HOST HOT 2
- Support for views
- d
- SValues from mysql backend always created as strings
- Cannot import postgresql table
- Broken pipe? anything wrong?
- Fail to compile install chartsql on centos6.7 x64 HOT 2
- Fail to make and install in Centos 7
- Crashed when trying to start Fnordmetric Server
- Building with `make -j` can cause system crashes HOT 1
- Versioned Releases HOT 1
- Ubuntu - Installation process fails - cmake . HOT 2
- Build Failure with Apple Clang 10 HOT 3
- CLI syntax in getting started guide is wrong HOT 1
- Reason for "original Microsoft Arial" and workaround ?
- A SEGV fault was discovered in clip
- A SEGV fault was discovered in clip
- A SEGV fault was discovered in function clip
- CLIP-LANG.ORG is no longer available
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clip.