## What’s takeaway of this session
- The basic use of Promise and Fiber
- The combination of Promise and Fiber performs like Async/Await syntax
- The naive Async/Await syntax sadly does NOT work efficiently in Graphql-ruby
Kubernetes is currently the most popular container orchestration platform, and while many organizations are migrating their workloads to it, Kubernetes is still relatively immature. New corner cases, errors, and quirks are regularly discovered as users push the boundaries of size and scale.
Joining Datadog allowed me to discover Kubernetes at a larger scale. In this session I will share what I’ve learned, how it has changed my perspective about the Kubernetes ecosystem, and how you can apply those learnings when scaling your cluster to hundreds or thousands of nodes.
How to deploy your Rails application on Windows曦 徐
Ruby on Rails application deployment for Microsoft solutions is quite tough issue for rails developers, despite Helicon Zoo rising could solve that. However still no solution for early versions Windows OS, especially for the server older than IIS 7. This talk is regarding how to deploy rails application by setting IIS 6 as a reverse proxy server. Through handling requests and passing to rails server, the deployment for our rails application on Windows can be more easier with efficiency.
Kubernetes is currently the most popular container orchestration platform, and while many organizations are migrating their workloads to it, Kubernetes is still relatively immature. New corner cases, errors, and quirks are regularly discovered as users push the boundaries of size and scale.
Joining Datadog allowed me to discover Kubernetes at a larger scale. In this session I will share what I’ve learned, how it has changed my perspective about the Kubernetes ecosystem, and how you can apply those learnings when scaling your cluster to hundreds or thousands of nodes.
How to deploy your Rails application on Windows曦 徐
Ruby on Rails application deployment for Microsoft solutions is quite tough issue for rails developers, despite Helicon Zoo rising could solve that. However still no solution for early versions Windows OS, especially for the server older than IIS 7. This talk is regarding how to deploy rails application by setting IIS 6 as a reverse proxy server. Through handling requests and passing to rails server, the deployment for our rails application on Windows can be more easier with efficiency.
Celebrating Guile 2020. Lessons Learned in the Last Lap to Guile 3 (FOSDEM 2020)Igalia
By Andy Wingo.
Guile maintainer Andy Wingo shares his thoughts on the last lap of the race to Guile 3. We'll go over ways that Guile got faster, more capable, and more minimal at the same time.
New languages are often lovely and minimal but don't have a wide user community. To the extent that an old language has a community, it also has a legacy burden of supporting that community's old code. How should these be balanced? Is there a balance?
In this talk, Andy Wingo takes the opportunity of the Guile 3 release to reflect on change and continuity: how can a language stay minimal over time, and how is Guile working towards this goal? We cover cases in which things have gone well, not so well, as well as ongoing challenges and opportunities.
(c) FOSDEM 2020
Brussels, 1 & 2 February
https://fosdem.org/2020/schedule/event/guile2020/
By Andy Wingo.
Now that JavaScriptCore is as fast as V8 on its own benchmark, it’s well past time to take a look inside JSC’s optimizing compiler, the DFG JIT.
In this talk we’ll take a look at how the DFG works, what kind of code it does well on, and where it’s going. This is a talk for folks that like bits and compilers, but also for people interested in another engine for high-performance JavaScript.
This is a tutorial transcript to go along with the presentation slides which can be found below:
https://www.slideshare.net/PoleSystematicParisRegion/pyparis2017-functionasaservice-a-pythonic-perspective-on-severless-computing-by-josef-spillner
Ansible can solve almost any automation challenge, but we will focus on how simply this can be done. The talk will cover one-liners and other tricks that can be added to your virtual toolbox. There will also be a discussion so come with your own favorite tip or trick for the group that leverage Ansible.
presented by... Mike Dahlgren.. "Almost two decades he bought a simple red fedora from the back of a 'Teach Yourself Linux' book, now he lives that dream at Red Hat as a Senior Cloud Solution Architect. His passion for evangelizing the benefits Open Source has never wavered through a career in private, public, and government agencies."
Hagai Kariti, from BigPanda, giving an intro to Ansible by going through common use cases. Check this out to learn how one can go from batching ad-hoc operations to full data center provisioning with only one tool and one devops guy.
To run drupal on kubernetes you will need infra in code.
These are the kubernetes concepts applied to Drupal.
And how to to zero downtime deployments and autoscale your drupal
"Boxen: How to Manage an Army of Laptops", a talk about Boxen and related bits of Puppet thoughts by Will Farrington of GitHub at Puppet Camp San Francisco 2013.
Celebrating Guile 2020. Lessons Learned in the Last Lap to Guile 3 (FOSDEM 2020)Igalia
By Andy Wingo.
Guile maintainer Andy Wingo shares his thoughts on the last lap of the race to Guile 3. We'll go over ways that Guile got faster, more capable, and more minimal at the same time.
New languages are often lovely and minimal but don't have a wide user community. To the extent that an old language has a community, it also has a legacy burden of supporting that community's old code. How should these be balanced? Is there a balance?
In this talk, Andy Wingo takes the opportunity of the Guile 3 release to reflect on change and continuity: how can a language stay minimal over time, and how is Guile working towards this goal? We cover cases in which things have gone well, not so well, as well as ongoing challenges and opportunities.
(c) FOSDEM 2020
Brussels, 1 & 2 February
https://fosdem.org/2020/schedule/event/guile2020/
By Andy Wingo.
Now that JavaScriptCore is as fast as V8 on its own benchmark, it’s well past time to take a look inside JSC’s optimizing compiler, the DFG JIT.
In this talk we’ll take a look at how the DFG works, what kind of code it does well on, and where it’s going. This is a talk for folks that like bits and compilers, but also for people interested in another engine for high-performance JavaScript.
This is a tutorial transcript to go along with the presentation slides which can be found below:
https://www.slideshare.net/PoleSystematicParisRegion/pyparis2017-functionasaservice-a-pythonic-perspective-on-severless-computing-by-josef-spillner
Ansible can solve almost any automation challenge, but we will focus on how simply this can be done. The talk will cover one-liners and other tricks that can be added to your virtual toolbox. There will also be a discussion so come with your own favorite tip or trick for the group that leverage Ansible.
presented by... Mike Dahlgren.. "Almost two decades he bought a simple red fedora from the back of a 'Teach Yourself Linux' book, now he lives that dream at Red Hat as a Senior Cloud Solution Architect. His passion for evangelizing the benefits Open Source has never wavered through a career in private, public, and government agencies."
Hagai Kariti, from BigPanda, giving an intro to Ansible by going through common use cases. Check this out to learn how one can go from batching ad-hoc operations to full data center provisioning with only one tool and one devops guy.
To run drupal on kubernetes you will need infra in code.
These are the kubernetes concepts applied to Drupal.
And how to to zero downtime deployments and autoscale your drupal
"Boxen: How to Manage an Army of Laptops", a talk about Boxen and related bits of Puppet thoughts by Will Farrington of GitHub at Puppet Camp San Francisco 2013.
More and more companies are adopting some form of cloud for hosting their applications. Cloud also increasingly means Docker containers and Kubernetes to orchestrate them. Cloud is a different beast when it comes to running Java applications. It focuses on fast provisioning, ephemeral containers that startup and scale quickly and use minimum resources when idle. Correspondingly the JVM has undergone a number of changes that help it to adapt to cloud environments.
This talk looks closely at each of the cloud specific aspects and explores the changes in Java that a developer needs to be aware of to make the most of running a Java app in the cloud and provides a github based tutorial for reference.
Polyglot, fault-tolerant event-driven programming with kafka, kubernetes and ...Natan Silnitsky
At Wix, we have created a universal event-driven programming infrastructure on top of the Kafka message broker.
This infra makes sure messages are eventually successfully consumed and produced no matter what failure it encounters.
In this talk, you will learn about the features we introduced in order to make sure our distributed system can safely handle an ever growing message throughput in a fault tolerant manner.
You will be introduced to such techniques as retry topics, local persistent queues, and cooperative fibers that help make your flows more resilient and performant.
You will also learn how to make this infra work for all programming languages tech stacks with optimal resource manage using the power of Kubernetes and gRPC.
When to use a client library, and when to deploy an external pod (DaemonSet) or even deploy a sidecar.
Cloud Native Night June 2019, Munich: Talk by Josef Fuchshuber (@fuchshuber, Principal Software Architect at QAware)
Join our Meetup: www.meetup.com/cloud-native-muc
Abstract: Kubernetes ist komplex geworden. Eigentlich so komplex, dass man sich als App Developer mit diesem Komplexitätsgrad auf Platform-Level nur selten befassen will. Was aber ist die richtige Abstraktionsebene für App Developer? In diesem Talk werden zwei mögliche Lösungen vorgestellt:
- Crossplane: Ein Multicloud Control Plane um Workload und Ressourcen unabhängig von Cloud Providern ausrollen zu können
- Knative: Plattform um Serverless Workloads zu Bauen, Deployen und zu Managen
Beide Tools definieren eine abstrahierte Sicht auf K8s, haben aber jeweils einen eigenen Lösungsansatz und unterschiedliche Einsatzszenarien. Diese werden in der Präsentation vorgestellt und mit Demos detaillierter erläutert.
I would like to speak about what I am actually doing at InfluxData. Sharing with you some ideas about how an orchestrator should work. We will start from a bit of history about distributed system, containers, runtime and so on. Hoping to have a good chat about the future of scheduling and orchestrator.
Kernel load-balancing for Docker containers using IPVSDocker, Inc.
Many companies use expensive proprietary hardware and software to provide load-balancing and routing for their users and services. I'm going to demonstrate how the same or even exceeding performance and feature set can be achieved using an open-source technology which has been a part of the mainline Linux kernel for over a decade – IPVS. Specifically, you'll see how IPVS can be used to automatically configure load balancing and routing for Docker containers using a simple Go daemon and a Docker plugin.
How to build 1000 microservices with Kafka and thriveNatan Silnitsky
This talk is about the Wix ecosystem for event driven architecture on top of Kafka.
I share the best practices, SDKs and tools we have created in order to be able to scale our distributed system to more than 1000 microservices.
Kubernetes Basis: Pods, Deployments, and ServicesJian-Kai Wang
Kubernetes is a container management platform and empowers the scalability to the container. In this repository, we address the issues of how to use Kubernetes with real cases. We start from the basic objects in Kubernetes, Pods, deployments, and Services. This repository is also a tutorial for those with advanced containerization skills trying to step into the Kubernetes. We also provide several YAML examples for those looking for quickly deploying services. Please enjoy it and let's start the journey to Kubernetes.
You are done coding and have got a runnable Jar file, but then what? How does it go into the cloud?
In this talk we will explore how Java can be packaged inside a Docker image and discuss tips and common pitfalls.
We will continue with a brief introduction to Kubernetes and how it can help deploying our Docker containers.
Finally will look at a development workflow which allows local development of large micro-services apps leveraging Telepresence.
Polyglot, Fault Tolerant Event-Driven Programming with Kafka, Kubernetes and ...Natan Silnitsky
At Wix, we have created a universal event-driven programming infrastructure on top of the Kafka message broker.
This infra makes sure messages are eventually successfully consumed and produced no matter what failure it encounters.
In this talk, you will learn about the features we introduced in order to make sure our distributed system can safely handle an ever growing message throughput in a fault tolerant manner.
You will be introduced to such techniques as retry topics, local persistent queues, and cooperative fibers that help make your flows more resilient and performant.
You will also learn how to make this infra work for all programming languages tech stacks with optimal resource manage using the power of Kubernetes and gRPC.
When to use a client library, and when to deploy an external pod (DaemonSet, StatefulSet) or even deploy a sidecar.
This is a journey of a developer who goes from docker-compose to kompose to opencompose. Which tool can help her best to move to Kubernetes? Find out in the slides. Also there is a demo in the slides which shows how these tools can help.
This talk was presented at DevConf India on May 12th 2017. DevConf India was a parallel track with rootconf 2017. Visit devconf.in to know more.
Generative AI Deep Dive: Advancing from Proof of Concept to ProductionAggregage
Join Maher Hanafi, VP of Engineering at Betterworks, in this new session where he'll share a practical framework to transform Gen AI prototypes into impactful products! He'll delve into the complexities of data collection and management, model selection and optimization, and ensuring security, scalability, and responsible use.
Climate Impact of Software Testing at Nordic Testing DaysKari Kakkonen
My slides at Nordic Testing Days 6.6.2024
Climate impact / sustainability of software testing discussed on the talk. ICT and testing must carry their part of global responsibility to help with the climat warming. We can minimize the carbon footprint but we can also have a carbon handprint, a positive impact on the climate. Quality characteristics can be added with sustainability, and then measured continuously. Test environments can be used less, and in smaller scale and on demand. Test techniques can be used in optimizing or minimizing number of tests. Test automation can be used to speed up testing.
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf91mobiles
91mobiles recently conducted a Smart TV Buyer Insights Survey in which we asked over 3,000 respondents about the TV they own, aspects they look at on a new TV, and their TV buying preferences.
Elevating Tactical DDD Patterns Through Object CalisthenicsDorra BARTAGUIZ
After immersing yourself in the blue book and its red counterpart, attending DDD-focused conferences, and applying tactical patterns, you're left with a crucial question: How do I ensure my design is effective? Tactical patterns within Domain-Driven Design (DDD) serve as guiding principles for creating clear and manageable domain models. However, achieving success with these patterns requires additional guidance. Interestingly, we've observed that a set of constraints initially designed for training purposes remarkably aligns with effective pattern implementation, offering a more ‘mechanical’ approach. Let's explore together how Object Calisthenics can elevate the design of your tactical DDD patterns, offering concrete help for those venturing into DDD for the first time!
Unlocking Productivity: Leveraging the Potential of Copilot in Microsoft 365, a presentation by Christoforos Vlachos, Senior Solutions Manager – Modern Workplace, Uni Systems
In his public lecture, Christian Timmerer provides insights into the fascinating history of video streaming, starting from its humble beginnings before YouTube to the groundbreaking technologies that now dominate platforms like Netflix and ORF ON. Timmerer also presents provocative contributions of his own that have significantly influenced the industry. He concludes by looking at future challenges and invites the audience to join in a discussion.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Dr. Sean Tan, Head of Data Science, Changi Airport Group
Discover how Changi Airport Group (CAG) leverages graph technologies and generative AI to revolutionize their search capabilities. This session delves into the unique search needs of CAG’s diverse passengers and customers, showcasing how graph data structures enhance the accuracy and relevance of AI-generated search results, mitigating the risk of “hallucinations” and improving the overall customer journey.
Threats to mobile devices are more prevalent and increasing in scope and complexity. Users of mobile devices desire to take full advantage of the features
available on those devices, but many of the features provide convenience and capability but sacrifice security. This best practices guide outlines steps the users can take to better protect personal devices and information.
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024Neo4j
Neha Bajwa, Vice President of Product Marketing, Neo4j
Join us as we explore breakthrough innovations enabled by interconnected data and AI. Discover firsthand how organizations use relationships in data to uncover contextual insights and solve our most pressing challenges – from optimizing supply chains, detecting fraud, and improving customer experiences to accelerating drug discoveries.
Removing Uninteresting Bytes in Software FuzzingAftab Hussain
Imagine a world where software fuzzing, the process of mutating bytes in test seeds to uncover hidden and erroneous program behaviors, becomes faster and more effective. A lot depends on the initial seeds, which can significantly dictate the trajectory of a fuzzing campaign, particularly in terms of how long it takes to uncover interesting behaviour in your code. We introduce DIAR, a technique designed to speedup fuzzing campaigns by pinpointing and eliminating those uninteresting bytes in the seeds. Picture this: instead of wasting valuable resources on meaningless mutations in large, bloated seeds, DIAR removes the unnecessary bytes, streamlining the entire process.
In this work, we equipped AFL, a popular fuzzer, with DIAR and examined two critical Linux libraries -- Libxml's xmllint, a tool for parsing xml documents, and Binutil's readelf, an essential debugging and security analysis command-line tool used to display detailed information about ELF (Executable and Linkable Format). Our preliminary results show that AFL+DIAR does not only discover new paths more quickly but also achieves higher coverage overall. This work thus showcases how starting with lean and optimized seeds can lead to faster, more comprehensive fuzzing campaigns -- and DIAR helps you find such seeds.
- These are slides of the talk given at IEEE International Conference on Software Testing Verification and Validation Workshop, ICSTW 2022.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...SOFTTECHHUB
The choice of an operating system plays a pivotal role in shaping our computing experience. For decades, Microsoft's Windows has dominated the market, offering a familiar and widely adopted platform for personal and professional use. However, as technological advancements continue to push the boundaries of innovation, alternative operating systems have emerged, challenging the status quo and offering users a fresh perspective on computing.
One such alternative that has garnered significant attention and acclaim is Nitrux Linux 3.5.0, a sleek, powerful, and user-friendly Linux distribution that promises to redefine the way we interact with our devices. With its focus on performance, security, and customization, Nitrux Linux presents a compelling case for those seeking to break free from the constraints of proprietary software and embrace the freedom and flexibility of open-source computing.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
3. What’s takeaway of this session
1. The basic use of Promise and Fiber
2. ★ The combination of Promise and Fiber performs like Async/Await syntax
3. ★★ The naive Async/Await syntax sadly does NOT work efficiently in
★: hard for @sat0yu to explain
4. GraphQL as an integrator
*Note: just a part of the whole Quipper services
8. How to use Graphql-batch
- Build a loader so as inherit GraphQL::Batch::Loader
- which need implementing perform(...)fetching data in bulk
- Generate field values through the loader
X.rb Y.rb
ref. https://github.com/Shopify/graphql-batch
11. - A representation of an eventual value
- The value won’t be calculated until evaluating it (lazy-evaluation)
- Chain-able with other promises through .then(...)
What is “Promise”?
fulfill
rejectpending
fulfilled
rejected
※ .load(...) returns a promise
13. Async/Await in JavaScript
- Declared in ES2017(ES8); Almost all browsers have compatibility
- Convenient to write async processing with a synchronized-ish syntax
JavaScript
14. Pause and Resume for promises
- Declared in ES2017(ES8); Almost all browsers have compatibility
- Convenient to write async processing with a synchronized-ish syntax
sleeping...
Pause
Resume
JavaScript
63. What’s wrong with the naive Async/Await?
The naive Async/Await impl. returns
a value, not a promise as a result
Graphql-batch allows fields to
return a promise in place of a value
64. Is it possible to fix it?
- It makes me feel it’s do-able…
but it does not work even if modifying it as returning a promise
- The main difficulty comes from the difference in the promise life-cycle
between Graphql-batch and the handcrafted Async/Await implementation
65. Summary
- Explained the basic usage of Promise and Fiber
- Confirmed the combination of Promise and Fiber works as Async/Await syntax
- Observed that the naive impl. is not enough to work along with Graphql-batch
- Code available: https://github.com/sat0yu/heisei-ruby-kaigi01
Thank you for your time and attention 🙇