We seem to be having connectivity issues to S3 primarily in one AZ in eu-west-1
HN user
jamesrwhite
Software Developer
[ my public key: https://keybase.io/jamesrwhite; my proof: https://keybase.io/jamesrwhite/sigs/_RYxeplgh3x4DlTBzDjvEKHozW97I-iFy41RCH2GkU8 ]
Seems like a wider issue at Google than just GCP, the Sheets and Chat APIs are also returning similar "Visibility check was unavailable" errors.
Apps Script is really powerful and often overlooked as a way to easily automate workflows that involves Google workspace apps.
I’ve built an app similar to this example but that takes things a bit further. It lets you send notifications to a variety of platforms and have them triggered based on conditions such as a cell containing a certain value or a date being reached etc
If you want to check it out the site is https://checksheet.app, happy to answer any questions about it.
Over the past year I've been working on Check Sheet in my spare time which is an add-on for Google Sheets. It lets you define rules or "checks" for your spreadsheet and will then send you a notification when they match via Email, Slack or Teams. Google used to have a similar thing built in directly but decided to remove it, there still seems to be demand for such a thing so I've been working on something that adds that functionality back.
The add-on runs primarily in Google's Apps Script environment which is essentially like Lambda/Cloud Functions although it's been around for way longer. In terms of the tech stack the frontend is a fairly simple Vue app and the backend is written in TypeScript. Apps Script is quite restrictive in terms of some of the quotas and limitations they apply so over time I've moved some of the logic and data out into Firestore and Cloud Functions.
You can install it for free on the marketplace: https://workspace.google.com/marketplace/app/check_sheet_not...
Hi, developer behind Check Sheet here.
Check Sheet is a free add-on for Google Sheets that adds the ability to define rules that will trigger an email notification when your spreadsheet changes. For example if a certain cell exceeds a value or if all values in a column match a string.
Google Sheets does have very basic notification functionality built in but it can only trigger notifications on any change, you can't narrow it down further than that.
This is the MVP I've built in a couple of months, any feedback is much appreciated.
Has "Sable" been spoken about externally before? I found a few details about it on a LinkedIn profile: https://www.linkedin.com/in/kokamd/.
"Sable has been hugely successful in the company: it provides storage and computation environment to over 850 teams, running 2450 unique applications, hosts 10,000 data-sets comprising of 2.05PB of (replicated) data across all retail regions. It handles about 2.2 trillion transactions per day with average client-side latencies of 3ms. In the first half of 2016, there were two outages of the cluster in North America due to operator errors, and this brought down multiple lines of business, not just Amazon.com. Leading the project to reduce SABLE blast radius. This involves segregating the data-sets and providing seamless fail-over to alternate storage solutions (for example DynamoDB) for data that is very critical such as Amazon catalog."
"SABLE is Amazon's e-commerce storage and computation platform. It hosts some of the most important applications running on Amazon.com. Altogether there are about 400 teams (including Shopping Cart, Items, Prices) that use SABLE within Amazon.com for high performance storage, caching, and new business object derivation services.
Part of the team that built SABLE from ground up. SABLE uses BDB (Berkley Database) for persistence and Libevent for non-blocking I/O. My specific feature contributions include: repartitioning support (add/reduce fleet size without any impact to live production traffic), SABLE reactors (computation platform for propagating prices, availability to the website). I optimized SABLE reactors by eliminating worklogs (which is the bookkeeping mechanism used to keep track of the amount of work that needs to be done in the system) which resulted in 30% reduction in our fleet size.
As a manager, I had five directs, and our team launched: Quality of Service for SABLE reactors (this helped in faster prices propagation to the website), Shopping Cart on SABLE platform (increased the availability of Shopping Cart application, more than what Oracle could provide)."
Thanks, I should have specified I meant in comparison to Lambda@Edge on CloudFront which this seems quite similar in terms of the use cases.
Will there be any limits on memory/execution time etc like with AWS Lambda?
I just added SQlite support back into master, I'll add it into the next release :) https://github.com/jamesrwhite/minicron/pull/70
Thanks for the info on rcron, it sounds like a really useful tool. I think I prefer the approach of rcron wrapping minicron so it doesn't require added complexity to minicron. I've added an issue here for potentially doing this https://github.com/jamesrwhite/minicron/issues/66 if you want to follow along with the progress.
The fronted is actually all API based, in theory I don't see any reason why external apps couldn't use the API. I'll try and add some documentation for it. I quite like the idea of puppet/chef/whatever defined jobs. When I add permission support to the hub/api you could set up a user for puppet which would have its own API credentials so the API would be able to show who the job was created by. On of the features of the permissions system will most likely be that users can only edit jobs they created unless they are an admin or some kind of user with extra privileges. I think this feature would be useful for a lot of people so hopefully it can be added without forking the project!
Logging activity and some kind of revision control is definitely something I've thought about and plan to add in the future. I remember seeing a ruby gem a little while back that could basically track changes to arbitrary ActiveRecord models, that might be useful here. I've added two tickets for this to remind me! https://github.com/jamesrwhite/minicron/issues/67 + https://github.com/jamesrwhite/minicron/issues/68
Sure, that's a pretty important bit to understand so I'll try and add some more information on that.
Yeah, so to convert a cron that ran `ls` to use minicron you would change it to `minicron run ls`. Currently the full command that gets added to the crontab is something like `/bin/bash -l -c 'minicron run ls'`, I use /bin/bash -l so it's easier to get working when you are using something like rvm for managing ruby versions. The command then gets run by minicron in a pseudo terminal so I can capture output line by line or even character by character and send it on.
At the moment the hub only knows about jobs which you create via it or for when you first run a job it gets created, so if you ran `minicron run ls` manually from server1 a job called ls on server1 would be stored in the db. Currently there is a potential for them to get out of sync yes, I had some ideas about how a push/pull type sync feature could work but I ran out of time to work on it. It's definitely something I want to improve in the future though!
Yeah, so the hub knows about any 'schedules' i.e cron expressions that you set up from it, so if you set up a schedule of '* * * * *' i.e every minute and that cron doesn't execute every minute it will send an alert via email/sms/pagerduty if you have enabled them. It does this by polling the database for executions in the background. I'm sure a way to expose those alerts to Nagios could be added.
I hadn't heard of rcron, I will have to look into that.
Yes and I agree! I did have SQlite support at one point but I dropped it because I was using triggers for cascading deletes, I'm not doing that anymore though so it should be possible to add it back pretty easily.
Thanks for your thoughts!
1. Thanks, I put a lot of effort into the README :)
2. That was one of my aims really, cron is a great tool it's just missing a few things that hopefully this can fill.
3. I was thinking about this recently actually, I don't see why I couldn't add a config option that toggles between WebSockets and HTTP(s) for the transport of data to/from the hub. I did a bit of research into WebSockets when I was planning this and from what I understand they put a lot of effort into making sure it would work behind proxies/firewalls etc but I can't remember the exact specifics.
4. That SQL actually comes from ActiveRecord (`rake db:setup`) so I don't have any direct control over it. Long term I want to add proper migrations.
5. If it has an API of some kind I don't see why it couldn't be added as an alerting option alongside email, sms and pagerduty.
Thanks for your feedback!
Thanks, I look forward to it :) And that's great to hear because that's exactly why I made it!
Thanks! I've looked into Chronos quite a bit actually, they have a lot of great ideas. I'm hoping to eventually offer something pretty similar but for people who don't want to ditch cron completely.
I did have a look at what Jenkins offers plus if you're already using it for CI then that might be easier I agree. And thanks :)
Yeah the crontab permissions are a bit of a pain and thanks :)
Thanks! :)
Edit: Yeah, so the CLI sends data over HTTP(s) to whatever host you configure it to, that could be public or not. As I've said in https://github.com/jamesrwhite/minicron#security though until I add authentication to a bunch of places and review some other things I don't recommend exposing the hub to the public internet, it should be behind a firewall or only accessible over a VPN etc. Hopefully that clears it up a bit but let me know if not!
Hi Guys, I've been developing minicron as part of my dissertation at university and I'm at the stage now where I need to get as much feedback as possible so I can evaluate the success of my project in general. I'd really appreciate any comments/feedback you have, be it on the code, documentation, idea in general or anything else you think is relevant. Thanks!
The timezone support is a bit buggy unfortunately, I'll try and fix it tonight. But I agree with the comments below, it's always Beer O'clock really!