Cloud Run with Doreen Sacker

Cloud Run with Doreen Sacker

Why it is smart to start investing in the stock market?

Lorem ipsum dolor sit amet, consectetur adipiscing elit lobortis arcu enim urna adipiscing praesent velit viverra sit semper lorem eu cursus vel hendrerit elementum morbi curabitur etiam nibh justo, lorem aliquet donec sed sit mi dignissim at ante massa mattis.

  1. Neque sodales ut etiam sit amet nisl purus non tellus orci ac auctor
  2. Adipiscing elit ut aliquam purus sit amet viverra suspendisse potenti
  3. Mauris commodo quis imperdiet massa tincidunt nunc pulvinar
  4. Adipiscing elit ut aliquam purus sit amet viverra suspendisse potenti

Should I be a trader to invest in the stock market?

Vitae congue eu consequat ac felis placerat vestibulum lectus mauris ultrices cursus sit amet dictum sit amet justo donec enim diam porttitor lacus luctus accumsan tortor posuere praesent tristique magna sit amet purus gravida quis blandit turpis.

Odio facilisis mauris sit amet massa vitae tortor.

What app should I use to invest in the stock market?

At risus viverra adipiscing at in tellus integer feugiat nisl pretium fusce id velit ut tortor sagittis orci a scelerisque purus semper eget at lectus urna duis convallis. porta nibh venenatis cras sed felis eget neque laoreet suspendisse interdum consectetur libero id faucibus nisl donec pretium vulputate sapien nec sagittis aliquam nunc lobortis mattis aliquam faucibus purus in.

  • Neque sodales ut etiam sit amet nisl purus non tellus orci ac auctor
  • Adipiscing elit ut aliquam purus sit amet viverra suspendisse potenti
  • Mauris commodo quis imperdiet massa tincidunt nunc pulvinar
  • Adipiscing elit ut aliquam purus sit amet viverra suspendisse potenti
Is it risky to invest in the stock market? If so, how much?

Nisi quis eleifend quam adipiscing vitae aliquet bibendum enim facilisis gravida neque. Velit euismod in pellentesque massa placerat volutpat lacus laoreet non curabitur gravida odio aenean sed adipiscing diam donec adipiscing tristique risus. amet est placerat in egestas erat imperdiet sed euismod nisi.

“Nisi quis eleifend quam adipiscing vitae aliquet bibendum enim facilisis gravida neque velit euismod in pellentesque massa placerat.”
Tell us if you are already investing in the stock market

Eget lorem dolor sed viverra ipsum nunc aliquet bibendum felis donec et odio pellentesque diam volutpat commodo sed egestas aliquam sem fringilla ut morbi tincidunt augue interdum velit euismod eu tincidunt tortor aliquam nulla facilisi aenean sed adipiscing diam donec adipiscing ut lectus arcu bibendum at varius vel pharetra nibh venenatis cras sed felis eget.

Our first own Tech Meetup at Orbit is dedicated to 🥁 CLOUD 🥁 We have invited an exciting speaker for you: Doreen Sacker, Senior Data Scientist at Opinary! She talked about how they increased the performance of their recommendations enormously by moving to Cloud Run.

Background

Opinary places surveys in online articles and needs to generate recommendations to do so. Since these polls are displayed in between the text, users need to scroll to see them. Thus, performance and taking the results 20 seconds to appear didn’t matter much at first. Still, slow software also costs money. So they decided to move their machine learning pipeline from the Kubernetes engine to Cloud Run.

What’s Cloud Run?

Cloud Run is Google's serverless solution: Instead of having software running all the time, just waiting there for incoming requests, burning money, you spring them up on demand. Sounds like a plan to reduce cost. But at the first attempt, Opinary was burning even more money. How though?

Key takeaway: Beware of waiting times

First moving their application to Cloud Run was done with a few changes. Unfortunately, instead of decreasing cost, these were four times higher than before. So what’s the issue? This is what the architecture looked like, after the migration:

As you can see, the recommender service plays the role of an orchestrator: When receiving a request, it takes over pinging the other services one after the other. This results in the recommender service being spun up and waiting for the other services to respond.

The overall time of running services without them being busy decreased, but the recommender service was now running in a much more expensive environment. Note to self: Cloud Run Services that need to wait are expensive and should be avoided at all costs, otherwise, they incur additional costs.

Get rid of the orchestration pattern

To reduce the runtime of the services the architecture needed to be adapted more than just changing some aspects like before:

Instead of the request-based data flow an event-based pattern was introduced; intermediate results were stored in a Cloud Storage bucket, triggering the next service to take action.

This way, each service was active only when its action was required. Read the fully fledged story about Opinary moving to Cloud Run in this Blog Post.

What does the Cloud mean in the context of our work as a Corporate Venture Builder?

Unlike in developing a single product, the Cloud we use varies from project to project for various reasons. Our tech team opened up the discussion on what’s the most beautiful cloud (no. 7) 🌤️ and where our pain points lie. 🌩️

So, how did our first meetup go?

Approximately 20 people attended our first meetup; the atmosphere was relaxed and drinks and pizza encouraged networking after the talks. The best part was: Each talk was followed by an engaged discussion: Having a 20 minute talk followed by ten minutes of question and answers speaks to itself.

Do you want to be part of our next meetup? Good news: the next one is already planned! We’ll have Joblift visiting us and talking about the why and how of GitOps on May 11th! Find it on Meetup and join the group to not miss any future events!

About the author
Subscribe To Our Newsletter - Bnkly X Webflow Template

Subscribe to our newsletter

Thanks for joining our newsletter
Oops! Something went wrong while submitting the form.