Request for Resources: datanommer #3485
Labels
No labels
announcement
anubis
authentication
aws
backlog
blocked
bodhi
ci
cloud
communishift
copr
database
day-to-day
dc-move
deprecated
dev
discourse
dns
downloads
easyfix
epel
firmitas
forgejo_migration
Gain
High
Gain
Low
Gain
Medium
gitlab
greenwave
hardware
help wanted
high-trouble
koji
koschei
lists
low-trouble
medium-trouble
mirrorlists
monitoring
Needs investigation
odcs
OpenShift
ops
outage
packager_workflow_blocker
pagure
permissions
Priority
Needs Review
Priority
Next Meeting
Priority
🔥 URGENT 🔥
Priority
Waiting on Assignee
Priority
Waiting on External
Priority
Waiting on Reporter
rabbitmq
release-monitoring
releng
request-for-resources
s390x
security
SMTP
sprint-0
sprint-1
src.fp.o
staging
unfreeze
waiverdb
websites-general
wiki
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/tickets#3485
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The datanommer RPM is ready for staging our infrastructure. https://admin.fedoraproject.org/updates/datanommer
It is a fedmsg consumer which means it will get executed (among others) by the fedmsg-hub service. It needs a database to talk to (postgres) and has a "datanommer-create-db" script to set up its own tables.
= hosts? =
Where should this be run? It could go on busgateway01 for the time being. Another consumer is running there already (which does some work for the busmon webapp).
At some point in the future I'd like to break these message processing consumers off onto their own isolated node (just for organization's sake). We could call it, say, busfarm01 or buscrunch01 or busproc01 or ... More consumers will be coming. For instance, herlo is working on one that listens for messages from fas and makes updates to the fama ambassadors trac. rossdylan's badge processors need a place to live someday as well.
For where should this run it seems akin to what we use bapp* for. We might want to look at setting up multiple bapp* servers, or whether it still makes sense for bapp* servers to be app servers plus extra scripts, though.
lmacken mentioned in IRC that we might want to separate the DB for this from our other DBs. It could be collecting data at a higher rate than our other apps.
toshio mentioned in IRC that the concern is more about reading the data. Data for each "topic" is stored in its own DB table. Doing a select on a table would mean scanning over every message ever emitted on that topic, which could be costly and could slow down our other DBs.
So, is datanommer just the collection/logging part? Or it's also the reporting/query part?
My inclination is to start with just using busgateway01 and our regular db host, and then split out as things grow to the point where they are causing issues or needing more resources. I would think it should be pretty easy to dump db and move it to another host or move the service to it's own instance as they grow.
I agree this is kinda like bapp, but for fedmsg stuff instead of application stuff.
Thoughts?
datanommer is just the collection/logging part. For admin purposes it also includes two 'datanommer-dump' and 'datanommer-stats' scripts to see what its doing.
I'm fine with setting it up on busgateway01+regular-db-host for now, too. Its good to have started the discussion about scaling, though.
Can someone set up the database and add credentials to the private repo?
I'd do it myself, but I don't think I have the privileges.
After that we'll need to:
I'd really like to get this in place before the freeze begins on Tuesday if possible. It will be nice to have been able to collect stats over the period from beta to F18-release.
I've setup the db in stg.
Hopefully all will go well and we can setup prod soon.
Staging looks good. :) If you'd like to test it, you can log in to busgateway01.stg and run "sudo datanommer-stats" and/or "sudo datanommer-dump".
Kevin, if you or someone else can setup the db in the production environment, I can copy the puppet config over and make sure everything's working.
All setup.